//
//  ZXLTopicDetailCell.m
//  EPA
//
//  Created by 朱兴隆 on 16/4/22.
//  Copyright © 2016年 朱兴隆. All rights reserved.
//

#import "ZXLTopicDetailCell.h"

@interface ZXLTopicDetailCell ()
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;
@property (weak, nonatomic) IBOutlet UIImageView *userIconView;
@property (weak, nonatomic) IBOutlet UILabel *userNameLabel;



@end

@implementation ZXLTopicDetailCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)layoutSubviews {
    self.contentLabel.text = self.commentlist.content;
    self.userNameLabel.text = self.commentlist.userInfoModel.uname;
    [self.userIconView sd_setImageWithURL:[NSURL URLWithString:self.commentlist.userInfoModel.icon]];
    
    
}
@end
